package com.cuit.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api(tags = "商品管理")
@RestController
public class HelloController {

    @RequestMapping("/hello")
    @ApiOperation("测试hello接口")
    public String testHello(){
        return "hello";
    }


    @RequestMapping("/test")
    public String testTest(){
        return "templates/test";
    }

    @RequestMapping("/test_zj")
    public String testTest1(){
        return "templates/test";
    }

    @GetMapping("test_hjc")
    @ApiOperation("测试test_hjc接口")
    public String testHjc(){
        return "test_hjc";
    }

    @RequestMapping("/test/LGZ")
    public String testLGZ(){
        return "testLGZ2";
    }
    @RequestMapping("/test_fxl")
    public String testFxl(){
        return "test_fxl";
    }

    @GetMapping("test_cyy")
    @ApiOperation("测试test_cyy接口")
    public String testcyy(){
        return "test_cyy";
    }


    @RequestMapping("/testzj")
    public String test(){
        return "templates/test";
    }



}
